package routers

import "gvb_server/api"

/////////////////////////////////////////////
/// 广告路由
////////////////////////////////////////////

func (router RouterGroup) AdvertRouter() {
	app := api.ApiGroupApp.AdvertApi
	router.POST("adverts", app.AdverCreateView)
	router.GET("adverts", app.AdvertListView)
	router.PUT("adverts", app.AdverUpdateView)
	router.DELETE("adverts", app.AdvertRemoveView)
}
